#ifndef SOCKET_H
#define SOCKET_H

#include "NoCopyable.h"
#include <iostream>
#include <unistd.h>
#include <sys/socket.h>
#include <errno.h>

class Socket : NoCopyable
{
private:
    int _fd;

public:
    Socket();
    explicit Socket(int fd);
    ~Socket();
    int fd() const;
};

#endif